package com.stoken.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.stoken.dao.MemberLeaveTypeDao;
import com.stoken.domain.MemberLeaveType;
import com.stoken.domain.Notice;
import com.stoken.service.MemberLeaveTypeService;
import com.symbio.commons.Page;
import com.symbio.dao.hibernate.GenericDaoImpl;
import com.symbio.service.impl.AbstractServiceImpl;

@Service
public class MemberLeaveTypeServiceImpl extends AbstractServiceImpl<MemberLeaveType, Long> implements MemberLeaveTypeService  {
    
	@Autowired
	private MemberLeaveTypeDao memberLeaveTypeDao;
	
	@Override
	public GenericDaoImpl<MemberLeaveType, Long> getDao() {		
		return memberLeaveTypeDao;
	}

	@Override
	public Page<MemberLeaveType> find(Page<MemberLeaveType> pageData) {
		return memberLeaveTypeDao.find(pageData);
	}

	@Override
	public List<MemberLeaveType> findAll() {
		return memberLeaveTypeDao.findAll();
	}

}
